# continue
for i in range(1,6):
    if i == 3:
        continue
    print(i)

# break
for i in range(1,6):
    if i == 3:
        break
    print(i)

theSum = 0 # 和
count = 0 # 几个数
while True:
    num = int(input("输入整数(-1表示输入结束):"))
    if num == -1:
        # -1 表示输入结束
        break
    count += 1
    theSum += num
print(f"平均值为:{theSum/count}")